<template>
  <div>
    <custom-title
      v-for="item in listArr"
      :key="item.value"
      :is-line="true"
      :title="item.label"
      @click="toLinkPollutionSources(item)"
    />
  </div>
</template>
<script>
import CustomTitle from '@/components/globals/custom-title.vue'
import { verificationDataList } from '@/views/special/data'

export default {
  components: { CustomTitle },
  id: 'verification',
  data() {
    return {
      listArr: verificationDataList
    }
  },
  methods: {
    /**
     * 跳转污染源调查列表路由
     * @param item
     */
    toLinkPollutionSources(item) {
      if (item.label) {
        this.$router.push({
          path: '/special/pollutionSources',
          query: {
            sourcesName: item.value
          }
        })
      }
    }
  }
}
</script>
